home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
scfftm1dui.z
/
scfftm1dui
Wrap
Text File
|
1996-03-14
|
5KB
|
133 lines
ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF)))) ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF))))
NNNNAAAAMMMMEEEE
ssssccccffffffffttttmmmm1111dddduuuuiiii,,,, ddddzzzzffffffffttttmmmm1111dddduuuuiiii ---- initialize the coefficient array for real-to-
complex Multiple 1D FFT modules.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
_F_O_R_T_R_A_N _S_P_E_C_I_F_I_C_A_T_I_O_N
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee SSSSCCCCFFFFFFFFTTTTMMMM1111DDDDUUUUIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
iiiinnnntttteeeeggggeeeerrrr nnnn
rrrreeeeaaaallll ccccooooeeeeffffffff((((nnnn++++11115555))))
ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee DDDDZZZZFFFFFFFFTTTTMMMM1111DDDDUUUUIIII(((( nnnn,,,, ccccooooeeeeffffffff ))))
iiiinnnntttteeeeggggeeeerrrr nnnn
rrrreeeeaaaallll****8888 ccccooooeeeeffffffff((((nnnn++++11115555))))
_C _S_P_E_C_I_F_I_C_A_T_I_O_N
####iiiinnnncccclllluuuuddddeeee <<<<fffffffftttt....hhhh>>>>
ffffllllooooaaaatttt ****ssssccccffffffffttttmmmm1111dddduuuuiiii(((( iiiinnnntttt nnnn,,,, ffffllllooooaaaatttt ****ccccooooeeeeffffffff))));;;;
ddddoooouuuubbbblllleeee ****ddddzzzzffffffffttttmmmm1111dddduuuuiiii(((( iiiinnnntttt nnnn,,,, ddddoooouuuubbbblllleeee ****ccccooooeeeeffffffff))));;;;
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Initialize, the coefficient array which is used in the Multiple 1D FFT
modules. This array contains the different twiddle factors and the
factorization of N into prime numbers.
As the FFT modules scfftm1d or dzfftm1d only read the _c_o_e_f_f array, it may
be reused as long as necessary once it has been initialized.
In C, if _p_t_r is NULL, _s_c_f_f_t_m_1_d_u_i or _d_z_f_f_t_m_1_d_u_i returns a pointer to an
allocated buffer.
SCFFTM1DUI should be used to initialize the coefficient array before any
call to SCFFTM1DU
DZFFTM1DUI should be used to initialize the coefficient array before any
call to DZFFTM1DU
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
NNNN ---- Integer. Specifies the length of the sequence to be transformed.
Unchanged on exit.
CCCCOOOOEEEEFFFFFFFF ---- Array (C or Fortran) or NULL pointer(C).
EEEExxxxaaaammmmpppplllleeee ooooffff CCCCaaaalllllllliiiinnnngggg SSSSeeeeqqqquuuueeeennnncccceeee
Initializing a coefficient array for real-to-complex FFTs of size 200.
_F_o_r_t_r_a_n :
complex coeff(200+15)
call scfftm1dui( 200, coeff)
_C :
#include <fft.h>
float *coeff;
PPPPaaaaggggeeee 1111
ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF)))) ssssccccffffffffttttmmmm1111dddduuuuiiii,,,,ddddzzzzffffffffttttmmmm1111dddduuuuiiii((((3333FFFF))))
coeff = scfftm1dui( 200, NULL);
SSSSEEEEEEEE AAAALLLLSSSSOOOO
fft, scfftm1du, dzfftm1du
PPPPaaaaggggeeee 2222